Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Closes: #600
Approved by: cgwalters
( cd DESTDIR && find . )
-if [ -n "$ci_sudo" ] && [ -n "$ci_test" ]; then
+if [ "$ci_sudo" = yes ] && [ "$ci_test" = yes ]; then
sudo ${make} install
env \
LD_LIBRARY_PATH=/usr/local/lib \
NULL=
: "${ci_docker:=}"
-: "${ci_in_docker:=}"
+: "${ci_in_docker:=no}"
: "${ci_suite:=jessie}"
if [ $(id -u) = 0 ]; then
zlib1g-dev \
${NULL}
- if [ -n "$ci_in_docker" ]; then
+ if [ "$ci_in_docker" = yes ]; then
# Add the user that we will use to do the build inside the
# Docker container, and let them use sudo
adduser --disabled-password user </dev/null